package com.azt.api.pojo;

import javax.persistence.Transient;
import java.util.Date;
import java.util.List;

/**
 * Created by zouheyuan on 2017/5/8.
 */
public class DataFunction {

    private Integer id;

    private String name;

    private String uri;

    private Integer parentId;

    private Integer sortNum;

    private String icon;

    private Date createtime;

    private Date updatetime;


    @Transient
    private List<DataFunction> children;



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getSortNum() {
        return sortNum;
    }

    public void setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public List<DataFunction> getChildren() {
        return children;
    }

    public void setChildren(List<DataFunction> children) {
        this.children = children;
    }
}
